package com.IntelligentCommunity.deploy.service;


import com.IntelligentCommunity.deploy.domain.DeployAlarm;

import java.util.List;

/**
 * 抓拍记录Service接口
 *
 * @author kwzjx
 * @date 2024-07-23
 */
public interface IDeployAlarmService
{
    /**
     * 查询抓拍记录
     *
     * @param id 抓拍记录主键
     * @return 抓拍记录
     */
    public DeployAlarm selectDeployAlarmById(Long id);

    /**
     * 查询抓拍记录列表
     *
     * @param deployAlarm 抓拍记录
     * @return 抓拍记录集合
     */
    public List<DeployAlarm> selectDeployAlarmList(DeployAlarm deployAlarm);

    /**
     * 新增抓拍记录
     *
     * @param deployAlarm 抓拍记录
     * @return 结果
     */
    public int insertDeployAlarm(DeployAlarm deployAlarm);

    /**
     * 修改抓拍记录
     *
     * @param deployAlarm 抓拍记录
     * @return 结果
     */
    public int updateDeployAlarm(DeployAlarm deployAlarm);

    /**
     * 批量删除抓拍记录
     *
     * @param ids 需要删除的抓拍记录主键集合
     * @return 结果
     */
    public int deleteDeployAlarmByIds(Long[] ids);

    /**
     * 删除抓拍记录信息
     *
     * @param id 抓拍记录主键
     * @return 结果
     */
    public int deleteDeployAlarmById(Long id);

    void alarm2mq(DeployAlarm deployAlarm);

    void alarmAdd(DeployAlarm deployAlarm);
}
